POV-Ray : Newsgroups : povray.advanced-users : What is the equation for a helix? : Re: What is the equation for a helix? Server Time
30 Jul 2024 06:21:47 EDT (-0400)
  Re: What is the equation for a helix?  
From: David Fontaine
Date: 18 Dec 1999 16:07:24
Message: <385BF5FB.5C386956@isd.net>
> Well, this one looks like a sphere sweep, the documentation covers the
> parameters:
>    function "helix1", <1, 5, 0.2, 1, 1, 1, 0>

I wanted the actual function so I could modify it :-)


> This function is a bit different, it will always create circular
> surfaces when sliced with a plane perpendicular to the axis of the
> helix. I think. It doesn't act like a sphere_sweep, though, more like a
> circle_sweep. I broke it up to make it more modular.
> #declare cylFunc = function {sqrt((x-1)^2 + z^2)-y}
>
> function {cylFunc(x+sin(5*y), 0.5, z+cos(5*y))}

Um, yes, it is a circular cross-section, but it's too flat. I want something
that's identical to a sphere_sweep. Do you know where I could find the
function used by the built-in "helix1"?
Also this creates some nasty black spots on the surface. Do you get them as
well?

--
David   http://thunder.prohosting.com/~davidf  (ICQ 55354965)
"The paper holds their folded faces to the floor" -Pink Floyd


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.